//
//  UIButton+Extension.swift
//  Weibo
//
//  Created by eju_wangzhenxing on 16/11/7.
//  Copyright © 2016年 qisitianxia. All rights reserved.
//

import UIKit

extension UIButton {

//    convenience init(font: UIFont) {
//        
//        self.init()
//        
//        
//        
//    }
    
    class func zx_Custom(title: String, titleFontSize: CGFloat, normalColor: UIColor, highlighted: UIColor) -> UIButton {
    
        let btn = UIButton.init(type: .custom)
        btn.titleLabel?.font = UIFont.systemFont(ofSize: titleFontSize)
        btn.setTitle(title, for: .normal)
        btn.sizeToFit()
        btn.setTitleColor(normalColor, for: .normal)
        btn.setTitleColor(highlighted, for: .highlighted)
        
        return btn
    }
}

extension WBBaseViewController {

    
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        
    }
    
    
}
